package chain;

/**
 * @author sk.z
 */
public class ChainDemo {
    public static void main(String[] args) {
        ChainImpl chain = new ChainImpl();
        chain.addFilter(new FilterStartImpl());
        chain.addFilter(new FilterNameImpl("first"));
        chain.addFilter(new FilterNameImpl("second"));
        chain.doFilter();
    }
}
